#pragma once
#include "SnakeBody.h"
class SnakeList
{
public:
	SnakeList(SnakeBody* head);
	~SnakeList();
	void addSnake(SnakeBody* body);
	void clearList();
	SnakeBody* getHead()const;
	SnakeBody* getEnd()const;
	int snakeLeght;
	SnakeBody* p_Lhead;
	SnakeBody* p_Lend;
};

